package com.xuan.webfinally.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
public class EquipmentStatisticsResponse {
    private String title;
    private String time;
    private List<DataPoint> data;

    @Data
    public static class DataPoint {
        private String label;
        private Object value;

        public DataPoint(String label, String value) {
            this.label = label;
            this.value = value;
        }
        // Getters and Setters
    }
}
